From: Keyu Tao Date: Mon, 25 Sep 2023 11:42:31 +0000 (+0800) Subject: windowManager: Add "opacity: 0" to minimize ease animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~43 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5d1a0cc525e6df51aab0f358b2ff055806bfa61e;p=gnome-shell.git windowManager: Add "opacity: 0" to minimize ease animation Extensions like dash-to-dock use set_icon_geometry() to window. This changes the dest and scale of ease animation of minimize and makes it looks very strange. By setting dest opacity to 0 the animation could be more natural. Part-of: --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index d85e1e094..dd67b8ea3 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -1192,6 +1192,7 @@ export class WindowManager { } actor.ease({ + opacity: 0, scale_x: xScale, scale_y: yScale, x: xDest,